import { ADD_NUMBER, SUB_NUMBER }  from "./constants"

const addNumberAction = (num) => ({
  // type: "add_number",
  type: ADD_NUMBER,
  num
})

const subNumberAction = (num) => ({
  // type: "sub_number",
  type: SUB_NUMBER,
  num
})

export {addNumberAction, subNumberAction}